バージョン 24.2 (最新)

GetProperties(ITypeDescriptorContext,Object,Attribute[]) メソッド

指定したコンテキストと属性を使用して、値パラメーターによって指定される配列のタイプのプロパティのコレクションを返します。
シンタックス
public override System.ComponentModel.PropertyDescriptorCollection GetProperties( 
   System.ComponentModel.ITypeDescriptorContext context,
   System.object value,
   System.Attribute[] attributes
)

パラメータ

context
書式コンテキストを提供する System.ComponentModel.ITypeDescriptorContext
value
プロパティを取得する配列のタイプを指定する System.Object
attributes
フィルターとして使用されるタイプ System.Attribute の配列。

戻り値の型

このデータ タイプに公開されるプロパティを持つ System.ComponentModel.PropertyDescriptorCollection。またはプロパティがない場合は null。
参照

オンラインで表示: GitHub